package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @SystemParm
 * @系统参数(system_parm)
 * @version : Ver 1.0
 */
@TableName("system_parm")
public class SystemParm implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private Long id;


	/**
	 * @备注:返现手续费
	 * @字段:cash_back_poundage DOUBLE(6)
	 */
	private Double cashBackPoundage;


	/**
	 * @备注:提现手续费
	 * @字段:withdraw_cash_poundage DOUBLE(6)
	 */
	private Double withdrawCashPoundage;


	/**
	 * @备注:百夫长提成比例
	 * @字段:centurion_rate DOUBLE(6)
	 */
	private Double centurionRate;


	/**
	 * @备注:千夫长提成比例
	 * @字段:chiliarch_rate DOUBLE(6)
	 */
	private Double chiliarchRate;


	/**
	 * @备注:加盟商提成比例
	 * @字段:franchisee_rate DOUBLE(6)
	 */
	private Double franchiseeRate;

	/**
	 * 彩虹会员价
	 */
	private BigDecimal rainbowPrice;


	public SystemParm(){
	}

	public SystemParm(
		Long id
	){
		this.id = id;
	}



	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return this.id;
	}


	public void setCashBackPoundage(Double cashBackPoundage) {
		this.cashBackPoundage = cashBackPoundage;
	}

	public Double getCashBackPoundage() {
		return this.cashBackPoundage;
	}


	public void setWithdrawCashPoundage(Double withdrawCashPoundage) {
		this.withdrawCashPoundage = withdrawCashPoundage;
	}

	public Double getWithdrawCashPoundage() {
		return this.withdrawCashPoundage;
	}


	public void setCenturionRate(Double centurionRate) {
		this.centurionRate = centurionRate;
	}

	public Double getCenturionRate() {
		return this.centurionRate;
	}


	public void setChiliarchRate(Double chiliarchRate) {
		this.chiliarchRate = chiliarchRate;
	}

	public Double getChiliarchRate() {
		return this.chiliarchRate;
	}


	public void setFranchiseeRate(Double franchiseeRate) {
		this.franchiseeRate = franchiseeRate;
	}

	public Double getFranchiseeRate() {
		return this.franchiseeRate;
	}

	public BigDecimal getRainbowPrice() {
		return rainbowPrice;
	}

	public void setRainbowPrice(BigDecimal rainbowPrice) {
		this.rainbowPrice = rainbowPrice;
	}
}
